package com.zml.dao;

import com.zml.entity.Blog;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description
 * @Author <a href="mailto:zhaominglin@wxchina.com">minglin.Zhao</a>
 * @Date 2017/10/12
 * @Version 1.0.0
 */
public interface BlogDao {
    // 添加博客
    Integer addBlog(Blog blog);

    Blog findById(@Param("id") int id);
}
